// 由create_algorithm.js自动生成, 不要手动修改.
export default
function importAlgorithm(id, doSetup, doReset){
  switch(id){
    
    case 'KNNDatingTest':
      import('./KNNDatingTest.js').then(doSetup);
      break;
    
    case 'KNNHandWrittenNums':
      import('./KNNHandWrittenNums.js').then(doSetup);
      break;
    
    case 'DecisionTree':
      import('./DecisionTree.js').then(doSetup);
      break;
    
    case 'Bayes':
      import('./Bayes.js').then(doSetup);
      break;
    
    case 'LogRegres':
      import('./LogRegres.js').then(doSetup);
      break;
    
    case 'SVMHandWrittenNums':
      import('./SVMHandWrittenNums.js').then(doSetup);
      break;
    
    case 'AdaBoost':
      import('./AdaBoost.js').then(doSetup);
      break;
    
    case 'RegTree':
      import('./RegTree.js').then(doSetup);
      break;
    
    case 'Apriori':
      import('./Apriori.js').then(doSetup);
      break;
    
    case 'FPgrowth':
      import('./FPgrowth.js').then(doSetup);
      break;
    
    case 'PCA':
      import('./PCA.js').then(doSetup);
      break;
    
    default:
      doReset();
      break;
  }
}